how to solve equations with 2 inequality signs